﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Newtonsoft.Json;

namespace YinfangWeb.BLL.Model
{
    public class ObjUserInfo
    {
        public int UserID { get; set; }
    }

    /// <summary>
    /// 当前账号信息
    /// </summary>
    public class ObjUserAccountInfo
    {
        [JsonProperty("userid")]
        public int UserDataID { get; set; }
        [JsonProperty("username")]
        public string UserName { get; set; }
        [JsonProperty("identity")]
        public int UserIdentity { get; set; }
        [JsonProperty("role")]
        public int UserRoleID { get; set; }
        [JsonProperty("logo")]
        public string UserLogo { get; set; }
        [JsonProperty("token")]
        public string Token { get; set; }
    }
    public class ObjUserRightItem
    {
        public int UserRightItemID { get; set; }
        public string RightCode { get; set; }
        public bool MenuItem { get; set; }
    }
}